package org.jeecg.modules.business.takestockplan.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 盘点差异处理单-物料
 * @Author: jeecg-boot
 * @Date:   2023-11-23
 * @Version: V1.0
 */
@ApiModel(value="wms_take_stock_plan_difference_material对象", description="盘点差异处理单-物料")
@Data
@TableName("wms_take_stock_plan_difference_material")
public class TakeStockPlanDifferenceMaterial implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
	/**盘点差异处理单id*/
    @ApiModelProperty(value = "盘点差异处理单id")
    private String takeStockPlanDifferenceId;
	/**库存id*/
    @ApiModelProperty(value = "库存id")
    private String repertoryId;
	/**仓库id*/
	@Excel(name = "仓库 *", width = 15, dictTable = "wms_basic_warehouse", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "仓库id")
    private String wmsBasicWarehouseId;
	/**库区id*/
	@Excel(name = "库区", width = 15, dictTable = "wms_basic_warehouse_area", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "库区id")
    private String wmsBasicWarehouseAreaId;
	/**库位id*/
	@Excel(name = "库位", width = 15, dictTable = "wms_basic_warehouse_area_location", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "库位id")
    private String wmsBasicWarehouseAreaLocationId;
	/**物料id*/
    @ApiModelProperty(value = "物料id")
    private String materialId;
	/**物料名称*/
    @ApiModelProperty(value = "物料名称")
    @Excel(name = "物料名称", width = 15)
    private String materialName;
	/**物料编码*/
	@Excel(name = "物料编码 *", width = 15)
    @ApiModelProperty(value = "物料编码")
    private String materialCode;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private String specification;
	/**批次号*/
	@Excel(name = "批次号", width = 15)
    @ApiModelProperty(value = "批次号")
    private String batchCode;
	/**账存数量*/
    @Excel(name = "账存数量", width = 15)
    @ApiModelProperty(value = "账存数量")
    private java.math.BigDecimal stockQuantity;
	/**实盘数量*/
	@Excel(name = "实盘数量 *", width = 15)
    @ApiModelProperty(value = "实盘数量")
    private String realCount;
	/**盘盈数量*/
    @Excel(name = "盘盈数量", width = 15)
    @ApiModelProperty(value = "盘盈数量")
    private String inventoryProfit;
	/**盘亏数量*/
    @Excel(name = "盘亏数量", width = 15)
    @ApiModelProperty(value = "盘亏数量")
    private String inventoryLoss;
	/**库存单位id*/
    @Excel(name = "库存单位", width = 15, dictTable = "wms_basic_unit", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "库存单位id")
    private String wmsBasicUnitId;
	/**账存数量(辅单位)*/
    @Excel(name = "账存数量(辅单位)", width = 15)
    @ApiModelProperty(value = "账存数量(辅单位)")
    private java.math.BigDecimal stockQuantitySub;
	/**实盘数量(辅单位)*/
	@Excel(name = "实盘数量(辅单位)", width = 15)
    @ApiModelProperty(value = "实盘数量(辅单位)")
    private String realCountAssistant;
	/**盘盈数量(辅单位)*/
    @Excel(name = "盘盈数量(辅单位)", width = 15)
    @ApiModelProperty(value = "盘盈数量(辅单位)")
    private String inventoryProfitAssistant;
	/**盘亏数量(辅单位)*/
    @Excel(name = "盘亏数量(辅单位)", width = 15)
    @ApiModelProperty(value = "盘亏数量(辅单位)")
    private String inventoryLossAssistant;
	/**辅单位*/
    @Excel(name = "辅单位", width = 15, dictTable = "wms_basic_unit", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "辅单位")
    private String unitSub;
	/**钢卷号*/
	@Excel(name = "钢卷号", width = 15)
    @ApiModelProperty(value = "钢卷号")
    private String steelCode;
	/**外径*/
	@Excel(name = "外径", width = 15)
    @ApiModelProperty(value = "外径")
    private java.math.BigDecimal outsideDiameter;
	/**宽度*/
	@Excel(name = "宽度", width = 15)
    @ApiModelProperty(value = "宽度")
    private java.math.BigDecimal width;
	/**长度*/
	@Excel(name = "长度", width = 15)
    @ApiModelProperty(value = "长度")
    private java.math.BigDecimal length;
	/**厚度*/
	@Excel(name = "厚度", width = 15)
    @ApiModelProperty(value = "厚度")
    private java.math.BigDecimal thickness;
	/**牌号*/
	@Excel(name = "牌号", width = 15, dicCode = "wms_mark")
    @ApiModelProperty(value = "牌号")
    private String shopSign;
	/**外观等级*/
	@Excel(name = "外观等级", width = 15, dicCode = "wms_appearance_rating")
    @ApiModelProperty(value = "外观等级")
    private String appearanceGrade;
	/**铁损*/
	@Excel(name = "铁损", width = 15)
    @ApiModelProperty(value = "铁损")
    private java.math.BigDecimal ironLoss;
	/**实测片厚*/
    @ApiModelProperty(value = "实测片厚")
    private java.math.BigDecimal measuredThickness;
	/**实测铁损*/
    @ApiModelProperty(value = "实测铁损")
    private java.math.BigDecimal measuredIronLoss;
	/**硅钢等级*/
    @ApiModelProperty(value = "硅钢等级")
    private String siliconGrade;
	/**刻痕等级*/
    @ApiModelProperty(value = "刻痕等级")
    private String score;
	/**净重*/
	@Excel(name = "净重", width = 15)
    @ApiModelProperty(value = "净重")
    private java.math.BigDecimal originalWeight;
	/**实称净重*/
    @ApiModelProperty(value = "实称净重")
    private java.math.BigDecimal measuredWeight;
	/**纸筒*/
    @ApiModelProperty(value = "纸筒")
    private String wrappage;
	/**毛重*/
	@Excel(name = "毛重", width = 15)
    @ApiModelProperty(value = "毛重")
    private java.math.BigDecimal grossWeight;
	/**销售订单号*/
    @ApiModelProperty(value = "销售订单号")
    private String saleOrderCode;
	/**销售订单行号*/
    @ApiModelProperty(value = "销售订单行号")
    private String saleOrderLineCode;
	/**序列号*/
    @ApiModelProperty(value = "序列号")
    private String serialNumber;
	/**生产工单号*/
    @ApiModelProperty(value = "生产工单号")
    private String productCode;
	/**生产工单行号*/
    @ApiModelProperty(value = "生产工单行号")
    private String productLineCode;
	/**逻辑删除*/
    @ApiModelProperty(value = "逻辑删除")
    @TableLogic
    private Integer delFlag;
	/**租户id*/
    @ApiModelProperty(value = "租户id")
    private Integer tenantId;
	/**盘点结果*/
    @ApiModelProperty(value = "盘点结果")
    private String result;
	/**是否合卷*/
	@Excel(name = "是否合卷", width = 15, dicCode = "yn")
    @ApiModelProperty(value = "是否合卷")
    private String isMergeRoll;
	/**投入批次号*/
	@Excel(name = "投入批次号", width = 15)
    @ApiModelProperty(value = "投入批次号")
    private String inputBatchCode;
	/**母卷批次号*/
	@Excel(name = "母卷批次号", width = 15)
    @ApiModelProperty(value = "母卷批次号")
    private String motherBatchCode;
	/**柱型*/
	@Excel(name = "柱型", width = 15)
    @ApiModelProperty(value = "柱型")
    private String pillar;
	/**理料方向*/
	@Excel(name = "理料方向", width = 15)
    @ApiModelProperty(value = "理料方向")
    private String materialDirection;
	/**台号*/
	@Excel(name = "台号", width = 15)
    @ApiModelProperty(value = "台号")
    private String stationNum;
	/**产品型号*/
	@Excel(name = "产品型号", width = 15)
    @ApiModelProperty(value = "产品型号")
    private String productModel;
	/**产品类别*/
	@Excel(name = "产品类别", width = 15)
    @ApiModelProperty(value = "产品类别")
    private String productType;
	/**客商*/
    @ApiModelProperty(value = "客商")
    private String wmsBasicSupplierId;
	/**货主类型*/
	@Excel(name = "货主类型", width = 15, dicCode = "wms_owner_of_cargo")
    @ApiModelProperty(value = "货主类型")
    private String ownerType;
	/**货主*/
	@Excel(name = "货主", width = 15)
    @ApiModelProperty(value = "货主")
    private String ownerName;

    /**仓库名称*/
    @TableField(exist = false)
    @ApiModelProperty(value = "仓库名称")
    private String wmsBasicWarehouseName;
    /**库区名称*/
    @TableField(exist = false)
    @ApiModelProperty(value = "库区名称")
    private String wmsBasicWarehouseAreaName;
    /**库位名称*/
    @TableField(exist = false)
    @ApiModelProperty(value = "库位名称")
    private String wmsBasicWarehouseAreaLocationName;
    /**库存单位名称*/
    @TableField(exist = false)
    @ApiModelProperty(value = "库存单位名称")
    private String wmsBasicUnitName;
    /**辅单位名称*/
    @TableField(exist = false)
    @ApiModelProperty(value = "辅单位名称")
    private String unitSubName;
}
